#!/bin/sh
###############################################################
#
#
################################################################
mkdir -p dockerimage
cd dockerimage
docker save -o image-capp-db.tar.gz     registry.cn-hangzhou.aliyuncs.com/lank/mysql:capp_db_3.2.0
docker save -o image-capp-app.tar.gz    registry.cn-hangzhou.aliyuncs.com/lank/app:capp_app_3.2.0
docker save -o image-capp-nginx.tar.gz  registry.cn-hangzhou.aliyuncs.com/lank/nginx:capp_nginx_3.2.0
rm -rf /opt/website/release/dapp/image*.tar.gz
mv image*.gz /opt/website/release/dapp
ls -rtl  /opt/website/release/dapp
exit 0

